package com.heima.model.shop.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * knowledge
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_knowledge")
public class Knowledge implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("知识库id")
    @TableId(value = "id", type = IdType.AUTO)
	private Integer id; //知识库id



    @ApiModelProperty("知识库论文题目")
    @TableField("knowledge_name")
	private String knowledgeName;//知识库论文题目

    @ApiModelProperty("配件的id")
    @TableField("parts_type_id")
	private Integer partsTypeId;//配件的id

    @ApiModelProperty("配件名称")
    @TableField("parts_type_name")
	private String partsTypeName;//配件名称



}
